//
//  YFMenuView.h
//  YYPHSpeedJump
//
//  Created by sujiang on 16/1/30.
//  Copyright © 2016年 sujiang. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol YFMenuViewDelegate <NSObject>

- (void)changeMenuAtIndex:(NSInteger)index;

@end


@interface YFMenuView : UIView

@property (nonatomic, strong) NSMutableArray *btnArr;
@property (nonatomic, assign) NSInteger selectIndex;
@property (nonatomic, assign) id<YFMenuViewDelegate>delegate;


- (instancetype)initWithFrame:(CGRect)frame select:(NSInteger)index;

@end
